WooCommerce\PayPalCommerce\ApiClient\Factory\PurchaseUnitFactory S

Total Complexity 35
Dependencies 16
Dependents 8
Total lines 325
Lines of code 169
Logical lines of code 87
Comment lines 103
Methods 7
Properties 9

Methods 7

Method Rating Maintainability Complexity Lines of code
from_paypal_response()
A
42 14 52
from_wc_cart()
A
43 9 49
from_wc_order()
S
47 5 40
shipping_needed()
S
67 3 8
init_purchase_unit()
S
74 2 5
__construct()
S
63 1 11
country_without_postal_code()
S
65 1 4